package com.drama.api.sys.message.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class SysMessageVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "消息标题")
    private String msgTitle;
    @ApiModelProperty(value = "消息内容")
    private String msgDesc;
    @ApiModelProperty(value = "消息跳转连接")
    private String msgUrl;
    @ApiModelProperty(value = "消息类型（1剧目提审通知 2剧目上线申请通知 3提现申请通知）")
    private Integer msgType;
    @ApiModelProperty(value = "消息状态（1已读 2未读）")
    private Integer msgState;
    @ApiModelProperty(value = "消息通知时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

}